﻿package chapter_07_Homework;
/*
 * 		声明四个数组，分别遍历你们组同学（4个）的姓名、年龄、性别和身高。
 */
public class Work_12 {
	public static void main(String[] args) {
		int[] ages = new int[]{21,24,26,29};
		String[] names = new String[]{"刘梦成","邱晶","王汝贞","许圆"};
		char[] genders = new char[]{'男','女','男','男'};
		double[] heights = new double[]{1.74,1.68,1.66,1.80};
		for (int i = 0; i < heights.length; i++) {
			System.out.println("姓名:" + names[i]);
			System.out.println("性别:" + genders[i]);
			System.out.println("年龄:" + ages[i] + "岁");
			System.out.println("身高:" + heights[i] + "米" +"\n");
		}
	}
}
